package com.qfedu.api.service;

import com.qfedu.common.param.AccountTblAdd;
import com.qfedu.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 千锋Java,为你而生！
 *
 * @Author: Feri
 * @Date:2024/11/15 08:53
 * @Modified:
 */
@FeignClient(value = "xingaccount")
public interface AccountService {
    /**
     * 新增内容*/
    @PostMapping("server/accountTbl/save")
    R save(@RequestBody AccountTblAdd add);


    /**
     * 查询 所有数据*/
    @GetMapping("server/accountTbl/all")
    R all();
}
